package com.woniuxy.propertyjava.service;

import com.woniuxy.propertyjava.entity.PageBean;
import com.woniuxy.propertyjava.entity.Payment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PaymentService {
    //分页查询物业缴费信息
   PageBean<Payment> getPaymentByPage(int pageIndex,
                             int pageSize,
                             Payment payment);


    //查询报物业缴费的总条数
    int getPaymentByPageCount(Payment payment);

    //添加物业缴费数据
    void insertPayment(Payment payment);

    //删除物业缴费信息
    void deletPayment(int paymentid);

    //修改物业缴费信息
    void updatePayment(Payment payment);
}
